package com.wangxiang.shop.member.feign;

import com.wangxiang.common.utils.R;

import com.wangxiang.shop.member.entity.ShopCartEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.List;
@FeignClient("shop-order")
public interface OrderFeign {
    @RequestMapping("order/add")
    List<Integer> addByCart(@RequestBody List<ShopCartEntity> list);
    @RequestMapping("order/addByPayNow")
    int addByPayNow(@RequestBody HashMap<String ,Object> map);
}
